package cn.rengy.util.web;

import java.security.Principal;

public class RequestUtil {

    public static String getString(String key){
        throw new RuntimeException("scope must be provided");
    }
    public static String getUserAgent(Object request){
        throw new RuntimeException("scope must be provided");
    }

    public static String getClientIp(Object request){
        throw new RuntimeException("scope must be provided");
    }

    public static String getHeader(Object request,String name){
        throw new RuntimeException("scope must be provided");
    }

    public static Principal getPrincipal(){
        throw new RuntimeException("scope must be provided");
    }
    public static void setPrincipal(Principal principal){
        throw new RuntimeException("scope must be provided");
    }

    public static String getRequestPath(Object request){
        throw new RuntimeException("scope must be provided");
    }

    public static String getRequestMethod(Object request){
        throw new RuntimeException("scope must be provided");
    }
}
